<template>
  <div>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item icon="search" dot>抄表</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: "CommonTabBar",
  // setup函数是组合api的入口函数
  setup() {
    return {};
  },
};
</script>